package demo;

import java.util.List;

/**
 * 启动类
 */
public class Application {
    public static void main(String[] args) {
        String filePath = "C:\\Users\\1\\Desktop\\software\\file.txt"; // 指定文件路径
        Extractor extractor = new Extractor();
        List<String> extractedStrings = extractor.extractStringsFromFile(filePath);

        // 打印提取的字符串
        for (String s : extractedStrings) {
            System.out.println(s);
            System.out.println("\n");
        }
    }
}
